home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Tools - Objects / Macintosh Programmer’s Workshop / MPW 3.1 / MPW / Interfaces / CIncludes / Retrace.h < prev    next >
Text File  |  1990-12-13  |  982b  |  50 lines

  1. /************************************************************
  2.  
  3. Created: Thursday, September 7, 1989 at 6:44 PM
  4.     Retrace.h
  5.     C Interface to the Macintosh Libraries
  6.  
  7.  
  8.     Copyright Apple Computer, Inc.    1985-1989
  9.     All rights reserved
  10.  
  11. ************************************************************/
  12.  
  13.  
  14. #ifndef __RETRACE__
  15. #define __RETRACE__
  16.  
  17. #ifndef __TYPES__
  18. #include <Types.h>
  19. #endif
  20.  
  21. #ifndef __OSUTILS__
  22. #include <OSUtils.h>
  23. #endif
  24.  
  25. typedef pascal void (*VBLProcPtr)(void);
  26.  
  27. typedef struct {
  28.     QElemPtr qLink;
  29.     short qType;
  30.     VBLProcPtr vblAddr;
  31.     short vblCount;
  32.     short vblPhase;
  33. }VBLTask;
  34.  
  35. #ifdef __cplusplus
  36. extern "C" {
  37. #endif
  38. pascal QHdrPtr GetVBLQHdr(void);
  39. pascal OSErr SlotVInstall(QElemPtr vblBlockPtr,short theSlot);
  40. pascal OSErr SlotVRemove(QElemPtr vblBlockPtr,short theSlot);
  41. pascal OSErr AttachVBL(short theSlot);
  42. pascal OSErr DoVBLTask(short theSlot);
  43. pascal OSErr VInstall(QElemPtr vblTaskPtr); 
  44. pascal OSErr VRemove(QElemPtr vblTaskPtr);
  45. #ifdef __cplusplus
  46. }
  47. #endif
  48.  
  49. #endif
  50.